package com.leinao.media.entity;

/**
 * 云台控制参数
 *
 * @author zhangyu
 * @date 2021/12/2 15:43
 */
public class CloudPlatformControlParam extends BaseDeviceParam {

    /**
     * 通道号
     */
    private Integer channel;

    /**
     * 云台控制命令
     */
    private Integer command;

    /**
     * 云台控制的速度 1-7
     */
    private Integer speed;

    /**
     * 是否停止
     */
    private Integer isStop;

    /**
     * 摄像机类型(1-球机 2枪机)
     **/
    private int category;

    /**
     * 移动时间
     */
    private long moveTime;

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Integer getCommand() {
        return command;
    }

    public void setCommand(Integer command) {
        this.command = command;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public Integer getIsStop() {
        return isStop;
    }

    public void setIsStop(Integer isStop) {
        this.isStop = isStop;
    }

    public long getMoveTime() {
        return moveTime;
    }

    public void setMoveTime(long moveTime) {
        this.moveTime = moveTime;
    }

    @Override
    public String toString() {
        return "CloudPlatformControlParam{" +
                "channel=" + channel +
                ", command=" + command +
                ", speed=" + speed +
                ", isStop=" + isStop +
                ", category=" + category +
                ", moveTime=" + moveTime +
                '}';
    }

}
